import { Button } from "antd";
import React, { memo } from "react";

const Child2: React.FC = memo(function Child2({ handler, Name }) {
    return (
        <div>
            <p>{Name}</p>
            <Button onClick={handler}>处理2</Button>
        </div>
    )
});

export default Child2;